package com.lhl.blog.controller;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author LHL
 * @PackageName my-blog
 * @Package com.lhl.blog.controller
 * @Date 2023/6/11 21:04
 * @Version 1.0
 * @Desc
 */

@Controller
@RequestMapping("/")
public class IndexController {

    @GetMapping("/")
    @ResponseBody
    public String index() {

        return "ok";

    }
}
